package dao;

import entity.Student;

import java.util.List;

/**
 * 用户操作
 */


public interface StudentDao {
	

	Student get(int id);
	

	void save(Student student);
	

	void delete(Student student);
	

	void delete(int id);
	

	void update(Student student);
	

	List<Student> findStudentByNameAndStuNumber(String name, String stuNumber);
	

	List<Student> findAllByPage(int pageNo, int pageSize);
	

	long getStudentCount();
}